from sqlalchemy import Column, String, DECIMAL, Boolean, DateTime
from sqlalchemy.dialects.mysql import TINYINT, BIGINT
from pydantic import BaseModel
from server.model import BaseOrm
from datetime import datetime
from server import db


class Dict(BaseOrm):
    __tablename__ = 'm_dict'
    name = Column(String(64), nullable=False, server_default="", comment="参数名称")
    content = Column(String(64), nullable=False, server_default="", comment="参数数值")


db.create_all()
